﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

using BSU.GraduateWork.Data.Repositories;

namespace BSU.GraduateWork.Web.Controllers
{
    [HandleError]
    public class StatisticsController : Controller
    {

        public ActionResult Index()
        {
            var problemRepository = new Problem2DRepository();

            var list = problemRepository.List();

            return View(list);
        }
    }
}